package cn.com.api.service.impl.base;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiT_member_partner;

import cn.com.api.mapper.ApiT_member_partnerMapper;

import cn.com.api.service.ApiT_member_partnerService;

/**
 * 
 **/
@Service
public class T_member_partnerServiceImplBase {
	@Autowired
	private ApiT_member_partnerMapper apiT_member_partnerMapper;

	// 根据id获取
	public ApiT_member_partner findT_member_partnerById(Integer id) {
		ApiT_member_partner t_member_partner = apiT_member_partnerMapper.findT_member_partnerById(id);
		return t_member_partner;
	}

	// 查看数据集
	public List<ApiT_member_partner> findT_member_partners() {
		List<ApiT_member_partner> t_member_partners = apiT_member_partnerMapper.findT_member_partners();
		return t_member_partners;
	}

	// 添加
	public int insertT_member_partner(ApiT_member_partner t_member_partner) {
		int ret_I = apiT_member_partnerMapper.insertT_member_partner(t_member_partner);
		return ret_I;
	}

	// 修改
	public int updateT_member_partner(ApiT_member_partner t_member_partner) {
		int ret_I = apiT_member_partnerMapper.updateT_member_partner(t_member_partner);
		return ret_I;
	}

	// 删除
	public int deleteT_member_partner(Integer id) {
		int ret_I = apiT_member_partnerMapper.deleteT_member_partner(id);
		return ret_I;
	}

	// Foreign keys revelant

	// region Indexs revelant

}
